package MTT::Schema::Result::Switch;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

use strict;
use warnings;

use Moose;
use MooseX::NonMoose;
use namespace::autoclean;
extends 'DBIx::Class::Core';

__PACKAGE__->load_components("InflateColumn::DateTime", "EncodedColumn");

=head1 NAME

MTT::Schema::Result::Switch

=cut

__PACKAGE__->table("switchs");

=head1 ACCESSORS

=head2 id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

=head2 host_code

  data_type: 'varchar'
  is_nullable: 0
  size: 13

=head2 descr

  data_type: 'varchar'
  is_nullable: 1
  size: 42

=head2 id_type

  data_type: 'integer'
  is_nullable: 0

=cut

__PACKAGE__->add_columns(
  "id",
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
  "host_code",
  { data_type => "varchar", is_nullable => 0, size => 13 },
  "descr",
  { data_type => "varchar", is_nullable => 1, size => 42 },
  "id_type",
  { data_type => "integer", is_nullable => 0 },
);
__PACKAGE__->set_primary_key("id");
__PACKAGE__->add_unique_constraint("host_code", ["host_code"]);


# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-14 16:24:00
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YHLatHf4ZSjrSS3H1IoJfw


# You can replace this text with custom content, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
